#include "GameRule.h"
#include "ChessBoard.h"

bool GameRule::checkAddPoint(QPoint&,Player*){
    return false;
}
bool GameRule::checkAddPoint(QPoint&,QPoint&,Player*){
    return false;
}
bool GameRule::checkChosenPoint(QPoint&,Player*){
    return false;
}

void GameRule::setChessBoard(ChessBoard *chessBoard){
    _chessBoard = chessBoard;
    _chessBoardArray = _chessBoard->getChessBoardInstance();
}

void GameRule::setPlayerList(std::vector<Player*>* playerList){
    _playerList = playerList;
}
